package net.zui.entity;

import java.awt.Color;

import net.zui.Option;

/**
 * 边框设置
 * <br /><br />
 * <b>作者:</b>张天文 <br />
 * <b>日期:</b>2021年4月19日下午5:37:28<br />
 * @date
 */
public class ZBorder {
	private int line,radius;
	private Color borderColor=Option.getBorderColor();
	private Color mouseInColor=Option.getMouseInColor();
	
	public ZBorder(int line, Color borderColor) {
		this(line,0,borderColor);
	}
	
	public ZBorder(int line, int radius, Color borderColor) {
		this(line, radius, borderColor, Option.getMouseInColor());
	}

	public ZBorder(int line, int radius, Color borderColor, Color mouseInColor) {
		this.line = line;
		this.radius = radius;
		this.borderColor = borderColor;
		this.mouseInColor = mouseInColor;
	}

	public int getLine() {
		return line;
	}

	public void setLine(int line) {
		this.line = line;
	}

	public int getRadius() {
		return radius;
	}

	public void setRadius(int radius) {
		this.radius = radius;
	}

	public Color getBorderColor() {
		return borderColor;
	}

	public void setBorderColor(Color borderColor) {
		this.borderColor = borderColor;
	}

	public Color getMouseInColor() {
		return mouseInColor;
	}

	public void setMouseInColor(Color mouseInColor) {
		this.mouseInColor = mouseInColor;
	}
}
